package com.dancosoft.vika.implementation;

import com.dancosoft.vika.Entity.ProductPart;
import com.dancosoft.vika.Interface.IProduct;

public class ProductImpl implements IProduct{
	
	@Override
	public void installFirstPart (ProductPart productPart) {
		productPart.setName("Body");
		System.out.println("Install body");
		
	}

	@Override
	public void installSecondPart(ProductPart productPart) {
		productPart.setName("Chassis");
		System.out.println("Install chassis");
		
	}

	@Override
	public void installThirdPart(ProductPart productPart) {
		productPart.setName("Engine");
		System.out.println("Install engine");
		
	}

	
	
}
